CopyToRequest

data class CopyToRequest(nodeId: NodeId, targetNodeId: NodeId, insertBeforeNodeId: NodeId?)

Represents request frame that can be used with DOM#copyTo operation call.

Creates a deep copy of the specified node and places it into the target container before the given anchor.

See also

Constructors

CopyToRequest
Link copied to clipboard
fun CopyToRequest(nodeId: NodeId, targetNodeId: NodeId, insertBeforeNodeId: NodeId? = null)

Properties

insertBeforeNodeId
Link copied to clipboard
val insertBeforeNodeId: NodeId? = null
Drop the copy before this node (if absent, the copy becomes the last child of targetNodeId).
nodeId
Link copied to clipboard
val nodeId: NodeId
Id of the node to copy.
targetNodeId
Link copied to clipboard
val targetNodeId: NodeId
Id of the element to drop the copy into.

Sources

jvm source
Link copied to clipboard